package com.xhorse.lockplatform.dao.mapper;

import com.xhorse.lockplatform.comm.persist.BaseMapper;
import com.xhorse.lockplatform.model.XhImage;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface XhImageMapper extends BaseMapper<XhImage> {

    List<XhImage> selectDir(@Param("dbversion") String dbversion, @Param("regionId") int regionId);

    String selectImgMd5ById(@Param("imgId") Integer imgId, @Param("typeId") Integer typeId);

    void updateMD5Selective(XhImage xhImage);

    List<XhImage> selectChipImg();

    int findMaxVersion();
}